home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / convrtrs / dgvcon.arc / DIRNOTE < prev    next >
Encoding:
Text File  |  1990-10-18  |  4.4 KB  |  108 lines

  1. 1990/10/18
  2. RE: 'dgvcon.arc'
  3.  
  4.      I'm not going to do much preparation for distributing
  5. this file set.  I'm just adding this information in this
  6. file to explain it a bit, then I'm going to ARC it and
  7. distribute it.  The program name is short for "DigiView Converter".
  8. As I understand the situation, Digiview's software
  9. is capable of creating a 7 bit plane IFF/ILBM file in
  10. monochrome mode.  But some programs on the Amiga will
  11. not handle this file type.  Ironically, many which have
  12. problems with the 7 bit plane files will handle an 8
  13. bit plane file without problems.  So the original request
  14. Joe made was to simply to write a converter from the
  15. Byte Per Pixel form files that Digiview creates (their
  16. own proprietary file type) to an 8 bit plane IFF/ILBM,
  17. loadable by those programs on the Amiga that had problems
  18. with 7 bit plane files.
  19.  
  20.      The source code was written, compiled and tested
  21. using Sozobon C on the Atari ST.  It is reasonably portable.
  22. I do NOT generally use the 'f' (file oriented) functions in C.
  23. I have not found this to be necessary for most programs
  24. to be reasonably portable.  As such, some knowledge of C
  25. will be necessary and some changes will be needed, particularly
  26. in openning files on whatever compiler and system you
  27. are targetting.
  28.  
  29. 1990/09/20
  30.  
  31. This is a rather unusual development.  I'm starting with
  32. the 'ImCon' module from the 'ICap' package program I wrote
  33. a long time ago and "mutating" it into a program to convert
  34. Digiview files to 24 bit IFF/ILBM format.  This program
  35. is being written because Joe Chiazzesse asked me to write
  36. it for him months ago.  Since that time, Joe has sold his
  37. Amiga and bought a Mac30.  So ironically, he'll probably
  38. never use the program.  But I felt that it would be good
  39. for me to complete it in case he ever gets an Amiga again,
  40. or better still, if I get an Amiga in the future -- which
  41. is actually fairly likely.
  42.  
  43. Progress:
  44.  
  45. 1.  Port ImCon from OS-9 6809 version to Atari ST.  Compiler
  46.     is a slightly modified version of Sozobon C version 1.2.
  47.     NOTE:  type 'int' is a 16 bit word for this compiler.
  48.  
  49.     1990/09/21:
  50.     This has been done.  Happily, I also fixed a long known
  51.     bug while I was at it, so the program is in even better
  52.     shape for this overall project.
  53.  
  54. 2.  Strip out OS-9 #ifdefs leaving only Atari ST code
  55.     for simplicity.
  56.  
  57.     1990/09/21 12:23:
  58.     This has been done satisfactorily.  I have left some
  59.     #ifdefs where I think the ST code could be changed
  60.     later to better code or to remind me of problems.
  61.  
  62. 3.  Strip out Degas support code leaving only the IFF/ILBM
  63.     conversion.
  64.  
  65.     1990/09/21 13:37:
  66.     This has now been completed.  In doing so, I also
  67.     changed the module name to 'DgvCon' and moved some
  68.     #defines to the .h file where they should have been.
  69.     I have removed the cropping code, but I've left in
  70.     the contrast and brightness adjustments for now.
  71.  
  72. 4.  Adapt the conversion to Digiview -> IFF/ILBM.
  73.  
  74.     1990/09/25
  75.     Version 0.02 -- The -t switch has been implimented.  All
  76.     the planned dash switches are therefore coded and in
  77.     theory working.  BUT, I have not had time to test any
  78.     of them.  ONLY the basic conversion (dgvcon infile outfile.iff)
  79.     has been tested and is known to work.  I don't have
  80.     time right now for further testing.
  81.  
  82.     The code has been cleaned up a bit for printout.
  83.  
  84.     1990/09/24
  85.     The basic file converter is complete and tested.
  86.     The 'dgvcon' utility reads a 640 * 400 monochrome file
  87.     (input file size 256,000 bytes) and outputs an 8 bit plane
  88.     ILBM file that can be read by Page Stream.  I have not
  89.     tested the -b, -c or -p switches, but they should all work.
  90.     The code for the -t switch in the 'argv' unpacking routine
  91.     is not implimented, but the program should be able to
  92.     work with files of 320 * 400 and 320 * 200 by simply
  93.     adding code to change the 'hdrstr.bm_w' and 'hdrstr.bm_h'
  94.     variables.
  95.  
  96.     1990/10/04
  97.     Last night I corrected the header formation.  The calculation
  98.     of Chunks was slightly wrong.  I also changed the algorythm for
  99.     calculating the Colour Map values.  Unfortunately, this
  100.     introduced a bug that shortened the file output.  I corrected
  101.     that this morning.
  102.  
  103.      So, although I could push the program a bit further, as
  104. far as I'm concerned, the program is "done" -- for now.
  105.  
  106. Cheers! -- Jim O.
  107.  
  108.